package com.horsen.service.edu.model.VO;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 课程信息VO
 *
 * @author Horsen
 */
@Data
@ApiModel("课程信息VO")
public class WebCourseInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("课程ID")
    private String id;

    @ApiModelProperty("课程标题")
    private String title;

    @ApiModelProperty("课程售价(0免费)")
    private BigDecimal price;

    @ApiModelProperty("总课时")
    private Integer lessonNum;

    @ApiModelProperty("课程封面")
    private String cover;

    @ApiModelProperty("销售数量")
    private Long buyCount;

    @ApiModelProperty("浏览数量")
    private Long viewCount;

    @ApiModelProperty("课程介绍")
    private String description;

    @ApiModelProperty("课程讲师ID")
    private String teacherId;

    @ApiModelProperty("讲师姓名")
    private String teacherName;

    @ApiModelProperty("讲师授课风格")
    private String style;

    @ApiModelProperty("讲师头像")
    private String avatar;

    @ApiModelProperty("一级科目ID")
    private String primarySubjectId;

    @ApiModelProperty("一级科目")
    private String primarySubject;

    @ApiModelProperty("二级科目ID")
    private String secondarySubjectId;

    @ApiModelProperty("二级科目")
    private String secondarySubject;

}
